package py.progweb.sgc.gui.client.service;

import java.util.List;

import py.progweb.sgc.gui.shared.dialogmodel.DataRecord;
import py.progweb.sgc.model.EntidadBase;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath(value="abmService")
public interface ABMService extends RemoteService {
	public void guardar(EntidadBase entity) throws RemoteServiceException;
	public void borrar(List<DataRecord> drs) throws RemoteServiceException;
	public EntidadBase transformar(DataRecord dr)throws RemoteServiceException;
	public List<DataRecord> getProductosPorProveedor(Integer pk) throws RemoteServiceException;
}
